
package org.soaism.journey.service.rest;

import javax.ws.rs.Path;

import org.soaism.journey.service.entities.Journey;
import org.soaism.journey.service.messages.ChangeLogResponse;
import org.soaism.journey.service.messages.DeleteLogResponse;
import org.soaism.journey.service.messages.GetLogResponse;
import org.soaism.journey.service.messages.NewLogResponse;



public class JourneyService implements IJourneyService {
	private IJourneyService delegate;
	
	public JourneyService() {
		this.delegate = new JourneyServiceImpl();
	}
	
	public IJourneyService getIJourneyService() {
		return delegate;
	}

	public void setIDriveService(IJourneyService delegate) {
		this.delegate = delegate;
	}

	public GetLogResponse getLog( int id) {
		return delegate.getLog(id);
	}

	public ChangeLogResponse putLog(int id, Journey body) {
		return delegate.putLog(id, body);
	}

	
	public DeleteLogResponse deleteLog(int id) {
		return delegate.deleteLog(id);
	}


	public NewLogResponse postLog(Journey body) {
		return delegate.postLog(body);
	}

}
